.wrap {
    display: flex;
    width: 100%;
    height: 50px;

    view {
        flex: 1;
        height: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
        border: 1px solid #ccc;
        box-sizing: border-box;
    }

    .active {
        background: burlywood;
        color: chartreuse;
    }
}